package baseFx.database;

public interface Transaction extends AutoCloseable {
    void commit();

    void rollback(boolean close);

    @Override
    void close();

    default void rollback() {
        rollback(false);
    }
}
